package org.jeecg.modules.system.service;

import org.jeecg.modules.system.entity.SysScopeDepart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 作用域授权
 * @Author: jeecg-boot
 * @Date:   2019-10-05
 * @Version: V1.0
 */
public interface ISysScopeDepartService extends IService<SysScopeDepart> {
    void saveScopeDepart(String scopeId, String departIds, String lastDepartIds,int halfStatus);

    List<SysScopeDepart> queryServerScopeDepart(String scopeId, String tenantId);

    void saveServerScopeDepart(String tenantId, String scopeId, String departIds, String lastDepartIds, int halfStatus);

    void serverSave(SysScopeDepart sysScopeDepart);
}
